BearLibDrawBuf

Undocumented in source.

Constructors

this
this(int w, int h)
Undocumented in source.

Members

Functions

afterDrawing
void afterDrawing()

reserved for hardware-accelerated drawing - ends drawing batch

beforeDrawing
void beforeDrawing()

reserved for hardware-accelerated drawing - begins drawing batch

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
drawChar
void drawChar(int x, int y, dchar ch, uint color, uint bgcolor)
Undocumented in source. Be warned that the author may not have intended to support it.
drawCharWithEffects
void drawCharWithEffects(int x, int y, dchar ch, bool underscore, uint color)
Undocumented in source. Be warned that the author may not have intended to support it.
drawFragment
void drawFragment(int x, int y, DrawBuf src, Rect srcrect)
Undocumented in source. Be warned that the author may not have intended to support it.
drawGlyph
void drawGlyph(int x, int y, Glyph* glyph, uint color)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPixel
void drawPixel(int x, int y, uint color)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRescaled
void drawRescaled(Rect dstrect, DrawBuf src, Rect srcrect)
Undocumented in source. Be warned that the author may not have intended to support it.
fill
void fill(uint color)
Undocumented in source. Be warned that the author may not have intended to support it.
fillGradientRect
void fillGradientRect(Rect rc, uint color1, uint color2, uint color3, uint color4)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRect
void fillRect(Rect rc, uint color)

fill rectangle with solid color (clipping is applied)

resize
void resize(int _width, int _height)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

bpp
int bpp [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
height
int height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
width
int width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta